package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 装修申请
 * </p>
 *
 * @author yl
 * @since 2019-07-09
 */
@TableName("z_application")
public class ZApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 申请日期
     */
    @TableField("date")
    private Date date;

    /**
     * 附件
     */
    @TableField("enclosu")
    private String enclosu;

    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 申请人id
     */
    @TableField("application_id")
    private Long applicationId;


    /**
     * 流程定义id
     */
    @TableField("process_instance_id")
    private String processInstanceId;


    /**
     * 装修申请，审核状态
     */
    @TableField("decoration_status")
    private String decorationStatus;






    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getEnclosu() {
        return enclosu;
    }

    public void setEnclosu(String enclosu) {
        this.enclosu = enclosu;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(Long applicationId) {
        this.applicationId = applicationId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDecorationStatus() {
        return decorationStatus;
    }

    public void setDecorationStatus(String decorationStatus) {
        this.decorationStatus = decorationStatus;
    }





    @Override
    public String toString() {
        return "ZApplication{" +
        "id=" + id +
        ", date=" + date +
        ", enclosu=" + enclosu +
        ", remarks=" + remarks +
        ", applicationId=" + applicationId +
        "}";
    }
}
